class GeozonePolygon extends Geozone {
    static hasMany = [points: Point] //FIXME  最多多少个
  

    String zoneType = "Polygon";

    static constraints = {
        zoneType(inList: ["Polygon"])
        points(size: 3..8)
    }
}